package com.easybbs.entity.vo.request;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

/**
 * @Author: yudaxian
 * @Description: TODO
 * @DateTime: 2024/10/27 21:06
 **/
@Data
public class UserCenterLoadUserArticleReqVO {

    @Min(value = 1)
    private Integer pageNo;

    @NotBlank(message = "用户ID不能为空")
    private String userId;

    /**
     * 类型 0:发帖 1:评论过的文章  2:点赞过的文章
     */
    @Min(value = 0)
    @Max(value = 2)
    private Integer type;
}
